package com.wakaca.design.pattern.behavioral.interpreter;

/**
 * Created by wakac on 2019/4/3
 */
public class Test {
    public static void main(String[] args) {
        String wakacaInputStr = "6 100 11 + *";
        WakacaExpressionParser expressionParser = new WakacaExpressionParser();
        int result = expressionParser.parse(wakacaInputStr);
        System.out.println("解释器计算结果："+result);
    }
}
